package com.aeon.profiler;

public class TimeProfile {

	public static void start(String className, String methodName) {
		StringBuilder builder = new StringBuilder();
		builder.append(className).append(" ").append(methodName)
				.append(" start ").append(System.currentTimeMillis());
		System.out.println(builder);
	}

	public static void end(String className, String methodName) {
		System.out.println(new StringBuilder(className).append('\t')
				.append(methodName).append("\tend\t")
				.append(System.currentTimeMillis()));
	}
}